Passed
Push — master ( b6af25...696c10 )
by Dmytro
02:43 queued 12s
created

Test.js ➔ load   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
import fse from 'fs-extra';
2
import { tmpFolder } from './constants';
3
4
export * from './utils';
5
// eslint-disable-next-line import/export
6
export * from './constants';
7
8
export default class Test {
9
    async setTmpFolder() {
10
        await fse.ensureDir(tmpFolder);
11
    }
12
13
    async cleanTmpFolder() {
14
        await fse.remove(tmpFolder);
15
    }
16
}
17
18